#include <iostream>
using namespace std;
int main ()
{
	int ** a = new int*[10];
	int * b = new int[10];
	for (int i = 0; i < 10; ++i)
	{
		b[i] = i * 10;
	}
	for (int i = 0; i < 10; ++i)
	{
		for (int j = 0; j < 10; ++j)
		{
			a[j] = b;
			cout<<a[i][j]<<"\t";
		}
		cout<<endl;
	}
	for (int i = 0; i < 10; ++i)
	{
		delete [] a[i];
	}
	delete [] a;
	return 0;
}